package com.ruoyi.tacher.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 教师信息对象 teacher
 * 
 * @author yjh
 * @date 2024-08-11
 */
public class Teacher extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一ID */
    private Long id;

    /** 教师姓名 */
    @Excel(name = "教师姓名")
    private String name;

    /** 教师联系方式 */
    @Excel(name = "教师联系方式")
    private Long number;

    /** 学院 */
    @Excel(name = "学院")
    private String garder;

    /** 教师图片 */
    @Excel(name = "教师图片")
    private String picture;

    /** 教师简介 */
    @Excel(name = "教师简介")
    private String brief;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setNumber(Long number) 
    {
        this.number = number;
    }

    public Long getNumber() 
    {
        return number;
    }
    public void setGarder(String garder) 
    {
        this.garder = garder;
    }

    public String getGarder() 
    {
        return garder;
    }
    public void setPicture(String picture) 
    {
        this.picture = picture;
    }

    public String getPicture() 
    {
        return picture;
    }
    public void setBrief(String brief) 
    {
        this.brief = brief;
    }

    public String getBrief() 
    {
        return brief;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("number", getNumber())
            .append("garder", getGarder())
            .append("picture", getPicture())
            .append("brief", getBrief())
            .toString();
    }
}
